Skip to main content
Version: 8.4.10.4

RFQQuoteBroadcast

V8 Message Definiton

Live spread quotes with SpiderRock markup details for equity and future option spreads. Legs details are included in a packed field. This table contains the most recent market for each spread.

METADATA

AttributeValue
Topic6120-tool-rows
MLink TokenClientLive
ProductSRLive
accessTypeSELECT

Table Definition

FieldTypeKeyDefault ValueComment
securityIDBIGINTPRI0exchange spread ID eg CME ProductID or ISE SecurityID
exchSourceenum - ExchSourcePRI'None'
ticker_atenum - AssetType'None'first ticker in leg list
ticker_tsenum - TickerSrc'None'first ticker in leg list
ticker_tkVARCHAR(12)SEC''first ticker in leg list
securityDescTINYTEXT''SR constructedblank on broadcast filled by tool or SRSE proxy
rfqSourceVARCHAR(255)'Any'
rfqStrategyenum - SpreadStrategy'None'
isCoveredStrategyenum - YesNo'None'
isTradeableenum - YesNo'None'
rfqBidPriceDOUBLE0best bid buy price for this RFQSpread book
rfqBidQuanINT0cumulative bid buy quantity
rfqAskPriceDOUBLE0best ask sell price for this RFQSpread book
rfqAskQuanINT0cumulative ask sell quantity
rfqPrtPriceDOUBLE0last print price for this RFQSpread
rfqPrtSizeINT0last print size for this RFQSpread
rfqPrtVolumeINT0total print volume for session for this RFQSpread
rfqPrtTimeBIGINT0
bidPriceDOUBLE0best bid buy price for this RFQSpread from individual legs
bidQuanINT0minimum bid buy quantity from individual legs
askPriceDOUBLE0best ask sell price for this RFQSpread from individual legs
askQuanINT0minimum ask sell quantity from individual legs
surfDeltaFLOAT0delta of all legs
surfVegaFLOAT0vega of all legs
surfPriceFLOAT0surfPrice SR midmarket of all legs
theoPriceFLOAT0theoPrice if applicable of all legs
theoPriceLoFLOAT0theoPrice if applicable of all legs best way
theoPriceHiFLOAT0theoPrice if applicable of all legs worst way
minUPrcDOUBLE0min uPrc of all option legs
maxUPrcDOUBLE0max uPrc of all option legs
minYearsFLOAT0min years of all option legs
maxYearsFLOAT0max years of all option legs
legSecTypesVARCHAR(255)'Any'multi value
exchangeVARCHAR(8)''comma separated list
grpNumINT0industry group number equities only
sectorVARCHAR(16)''user defined sector code if any
riskClassVARCHAR(8)''risk class letter code
optStatusenum - OptStatus'Hold'
posVegaFLOAT0
posGammaFLOAT0
posThetaFLOAT0
posDeltaFLOAT0
netTimestampBIGINT0PTP timestamp of most recent message update
filterIdBIGINT0used by tooltoolServer session to multiplex filters
numLegsINT0
QuoteLegsListJSON'JSON_OBJECT()'

PRIMARY KEY DEFINITION (Unique)

FieldSequence
securityID1
exchSource2

SECONDARY INDEX (TickerIndex) (Not Unique)

FieldSequence
ticker_tk1

JSON Block (QuoteLegsList)

FieldTypeComment
legKeyenum - legKey
legKeyTypeenum - LegKeyType
legSecurityIDenum - legSecurityIDproduct securityID if available 0 otherwise can be another spread
legParentSecIDenum - legParentSecIDproduct securityID of parent if unrolled from a compound spread
legSecurityDescenum - legSecurityDescSecurity description
legRatioenum - legRatioleg ratio 1 2 etc
legSideenum - BuySell
legBidPriceenum - legBidPriceleg market bid
legBidSizeenum - legBidSize
legAskPriceenum - legAskPriceleg market ask
legAskSizeenum - legAskSize
legYearsenum - legYears
legUPrcenum - legUPrc
legOptMultenum - legOptMultSPC if equity 1 if optionfuture
legFutMultenum - legFutMult1 if equity uMult if optionfuture
legSurfVolenum - legSurfVolleg surface volatility
legSurfDeenum - legSurfDe
legSurfVeenum - legSurfVe
legSurfPriceenum - legSurfPricesurface price as of message arrival
legTheoPriceenum - legTheoPricetheo price
legTheoPrcBenum - legTheoPrcBtheo buy price
legTheoPrcSenum - legTheoPrcStheo sell price

CREATE TABLE EXAMPLE QUERY

CREATE TABLE `SRLive`.`MsgRFQQuoteBroadcast` (
`securityID` BIGINT NOT NULL DEFAULT 0 COMMENT 'exchange spread ID (eg. CME ProductID or ISE SecurityID)',
`exchSource` ENUM('None','Broker','CME','ISE','CBOE','PHLX','CBOT','NYMEX','COMEX','NMS','ICE','CFE') NOT NULL DEFAULT 'None',
`ticker_at` ENUM('None','EQT','IDX','BND','CUR','COM','FUT','SYN','WAR','FLX','MUT','SPD','MM','MF','COIN','TOKEN','ANY') NOT NULL DEFAULT 'None' COMMENT 'first ticker in leg list',
`ticker_ts` ENUM('None','SR','NMS','CME','ICE','CFE','CBOT','NYMEX','COMEX','RUT','CIDX','ARCA','NYSE','OTC','NSDQ','MFQS','MIAX','DJI','CUSIP','ISIN','BXE','EUX','ANY','CXE','DXE','NXAM','NXBR','NXLS','NXML','NXOS','NXP','EUREX','CEDX','ICEFE') NOT NULL DEFAULT 'None' COMMENT 'first ticker in leg list',
`ticker_tk` VARCHAR(12) NOT NULL DEFAULT '' COMMENT 'first ticker in leg list',
`securityDesc` TINYTEXT NOT NULL DEFAULT '' COMMENT 'SR constructed;blank on broadcast (filled by tool or SRSE proxy)',
`rfqSource` VARCHAR(255) NOT NULL DEFAULT 'Any',
`rfqStrategy` ENUM('None','SingleLeg','CalHoriz','CalDiag','CalSprd','EqCalSprd','ForexCalSprd','TASCalSprd','Straddle','HorizStraddle','Strip','StraddleStrip','StripMnth','EnrgStrip','BalStrip','UnbalStrip','EnrgInterCommStrip','Strangle','Vertical','Box','Bundle','BundleSprd','BFly','PackBFly','IronBFly','DblBFly','CndnlCurve','Double','Condor','IronCondor','Ratio1x2','Ratio1x3','Ratio2x3','RiskRev','XmasTree','JellyRoll','Guts','ThreeWay','ThreeWayStrdVsCall','ThreeWayStrdVsPut','RedTick','InterCommod','Pack','MnthPack','PackSprd','Crack1x1','IntRateIntCmSprd','ImpTreasIntCmSprd','ComIntCmSprd','InvoiceSwpSprd','Conversion','Horizontal','Generic') NOT NULL DEFAULT 'None',
`isCoveredStrategy` ENUM('None','Yes','No') NOT NULL DEFAULT 'None',
`isTradeable` ENUM('None','Yes','No') NOT NULL DEFAULT 'None',
`rfqBidPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'best bid (buy) price for this RFQ/Spread book',
`rfqBidQuan` INT NOT NULL DEFAULT 0 COMMENT 'cumulative bid (buy) quantity',
`rfqAskPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'best ask (sell) price for this RFQ/Spread book',
`rfqAskQuan` INT NOT NULL DEFAULT 0 COMMENT 'cumulative ask (sell) quantity',
`rfqPrtPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'last print price for this RFQ/Spread',
`rfqPrtSize` INT NOT NULL DEFAULT 0 COMMENT 'last print size for this RFQ/Spread',
`rfqPrtVolume` INT NOT NULL DEFAULT 0 COMMENT 'total print volume (for session) for this RFQ/Spread',
`rfqPrtTime` BIGINT NOT NULL DEFAULT 0,
`bidPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'best bid (buy) price for this RFQ/Spread from individual legs',
`bidQuan` INT NOT NULL DEFAULT 0 COMMENT 'minimum bid (buy) quantity from individual legs',
`askPrice` DOUBLE NOT NULL DEFAULT 0 COMMENT 'best ask (sell) price for this RFQ/Spread from individual legs',
`askQuan` INT NOT NULL DEFAULT 0 COMMENT 'minimum ask (sell) quantity from individual legs',
`surfDelta` FLOAT NOT NULL DEFAULT 0 COMMENT 'delta of all legs',
`surfVega` FLOAT NOT NULL DEFAULT 0 COMMENT 'vega of all legs',
`surfPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'surfPrice (SR mid-market) of all legs',
`theoPrice` FLOAT NOT NULL DEFAULT 0 COMMENT 'theoPrice (if applicable) of all legs',
`theoPriceLo` FLOAT NOT NULL DEFAULT 0 COMMENT 'theoPrice (if applicable) of all legs (best way)',
`theoPriceHi` FLOAT NOT NULL DEFAULT 0 COMMENT 'theoPrice (if applicable) of all legs (worst way)',
`minUPrc` DOUBLE NOT NULL DEFAULT 0 COMMENT 'min uPrc of all option legs',
`maxUPrc` DOUBLE NOT NULL DEFAULT 0 COMMENT 'max uPrc of all option legs',
`minYears` FLOAT NOT NULL DEFAULT 0 COMMENT 'min years of all option legs',
`maxYears` FLOAT NOT NULL DEFAULT 0 COMMENT 'max years of all option legs',
`legSecTypes` VARCHAR(255) NOT NULL DEFAULT 'Any' COMMENT 'multi value',
`exchange` VARCHAR(8) NOT NULL DEFAULT '' COMMENT 'comma separated list',
`grpNum` INT NOT NULL DEFAULT 0 COMMENT 'industry group number (equities only)',
`sector` VARCHAR(16) NOT NULL DEFAULT '' COMMENT 'user defined sector code (if any)',
`riskClass` VARCHAR(8) NOT NULL DEFAULT '' COMMENT 'risk class letter code',
`optStatus` ENUM('Hold','TwoWay','BuyOnly','SellOnly','CloseOnly','CloseNow','CloseRisk','BuyCloseOnly','SellCloseOnly') NOT NULL DEFAULT 'Hold',
`posVega` FLOAT NOT NULL DEFAULT 0,
`posGamma` FLOAT NOT NULL DEFAULT 0,
`posTheta` FLOAT NOT NULL DEFAULT 0,
`posDelta` FLOAT NOT NULL DEFAULT 0,
`netTimestamp` BIGINT NOT NULL DEFAULT 0 COMMENT 'PTP timestamp of most recent message update',
`filterId` BIGINT NOT NULL DEFAULT 0 COMMENT 'used by tool/toolServer session to multiplex filters',
`numLegs` INT NOT NULL DEFAULT 0,
`QuoteLegsList` JSON NOT NULL DEFAULT JSON_OBJECT() CHECK(JSON_VALID(QuoteLegsList)),
PRIMARY KEY USING HASH (`securityID`,`exchSource`),
KEY `TickerIndex` (`ticker_tk`) USING HASH
) ENGINE=SRSE DEFAULT CHARSET=LATIN1 COMMENT='Live spread quotes with SpiderRock markup details for equity and future option spreads. Legs details are included in a packed field. This table contains the most recent market for each spread.';

SELECT TABLE EXAMPLE QUERY

SELECT
`securityID`,
`exchSource`,
`ticker_at`,
`ticker_ts`,
`ticker_tk`,
`securityDesc`,
`rfqSource`,
`rfqStrategy`,
`isCoveredStrategy`,
`isTradeable`,
`rfqBidPrice`,
`rfqBidQuan`,
`rfqAskPrice`,
`rfqAskQuan`,
`rfqPrtPrice`,
`rfqPrtSize`,
`rfqPrtVolume`,
`rfqPrtTime`,
`bidPrice`,
`bidQuan`,
`askPrice`,
`askQuan`,
`surfDelta`,
`surfVega`,
`surfPrice`,
`theoPrice`,
`theoPriceLo`,
`theoPriceHi`,
`minUPrc`,
`maxUPrc`,
`minYears`,
`maxYears`,
`legSecTypes`,
`exchange`,
`grpNum`,
`sector`,
`riskClass`,
`optStatus`,
`posVega`,
`posGamma`,
`posTheta`,
`posDelta`,
`netTimestamp`,
`filterId`,
`numLegs`,
`QuoteLegsList`
FROM `SRLive`.`MsgRFQQuoteBroadcast`
WHERE
/* Replace with a BIGINT */
`securityID` = 1234567890
AND
/* Replace with a ENUM('None','Broker','CME','ISE','CBOE','PHLX','CBOT','NYMEX','COMEX','NMS','ICE','CFE') */
`exchSource` = 'None';

Doc Columns Query

SELECT * FROM SRLive.doccolumns WHERE TABLE_NAME='RFQQuoteBroadcast' ORDER BY ordinal_position ASC;